| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 12× 12× 1× 14258× 14258× 14258× 14258× | /** Virtual DOM Node */
"use strict";
exports.__esModule = true;
exports.VNode = VNode;
function VNode(nodeName, attributes, children) {
/** @type {string|function} */
this.nodeName = nodeName;
/** @type {object<string>|undefined} */
this.attributes = attributes;
/** @type {array<VNode>|undefined} */
this.children = children;
/** Reference to the given key. */
this.key = attributes && attributes.key;
}
|